namespace nu
{
    public class HashService
    {
        private readonly IHashProvider _hashProvider;

        public HashService(IHashProvider provider)
        {
            _hashProvider = provider;
        }

        public string ComputeFileHash(string filename)
        {
            return _hashProvider.ComputeHashFor(filename);
        }
    }
}